﻿namespace WebPacker
{
	using System.Web;
	using WebPacker.Packs;

	public interface IPackRouter
	{
		string Url { get; }

		bool Enabled { get; }

		void Process(HttpContextBase context);

		IPack GetPack(PackType packType, string packName);

		string GetUrl(HttpContextBase context, PackType packType, string packName);

		string GetUrl(HttpContextBase context, PackType packType, string[] resources);
	}
}